package com.mikeorth.controls
{
	import mx.controls.Button;

	public class HandCursorButton extends Button
	{
		public function HandCursorButton()
		{
			super();
			// properties needed for showing hand cursor on a button
			useHandCursor = true;
			buttonMode = true;
		}
		
		override public function set enabled(value:Boolean):void {
			super.enabled = value;
			// setup the hand cursor to follow whether the button is enabled
			useHandCursor = value;
		}
	}
}